import { lazy } from "react"
// 导入路由
const Log = lazy(() => import("../page/Log"))
const Search = lazy(() => import("../page/Search"))
const Service = lazy(() => import("../page/Service"))
const NotFound = lazy(() => import("../page/Notfound"))
export const router = [
  {
    path: "/",
    element: <Search />,
  },
  {
    path: "/log",
    element: <Log />,
  },
  {
    path: "/service",
    element: <Service />,
  },
  {
    path: "*",
    element: <NotFound />,
  },
]
